INCLUDES= $(all_includes) \
		-I$(top_srcdir)
 	
DEFINES= -DDAEMON

lib_LTLIBRARIES = librgcpp1.la

librgcpp1_la_SOURCES =	exceptions/DataFormatException.cpp \
						exceptions/Exception.cpp \
						exceptions/ExceptionHandler.cpp \
						exceptions/IllegalAccessException.cpp \
						exceptions/IOException.cpp \
						exceptions/RuntimeException.cpp \
						net/http/HTTPDownloader.cpp \
						net/http/HTTPRequest.cpp \
						net/http/HTTPSession.cpp \
						net/http/MIMETypes.cpp \
						net/sockets/DatagramSocket.cpp \
						net/sockets/TCPServerSocket.cpp \
						net/sockets/TCPSocket.cpp \
						net/sockets/TCPSocketPool.cpp \
						net/sockets/UnixServerSocket.cpp \
						net/sockets/UnixSocket.cpp \
						net/ssl/DynamicServerSocket.cpp \
						net/ssl/DynamicSocket.cpp \
						net/ssl/SSLServerSocket.cpp \
						net/ssl/SSLContext.cpp \
						net/ssl/SSLSocket.cpp \
						net/IPAddress.cpp \
						structs/FileLock.cpp \
						structs/Singleton.cpp \
						sys/Job.cpp \
						sys/JobQueue.cpp \
						sys/JobScheduler.cpp \
						sys/PTYCommand.cpp \
						sys/SysCommand.cpp \
						sys/SysLogger.cpp \
						sys/ThreadPool.cpp \
						sys/ThreadPoolInterface.cpp \
						tools/Cipher.cpp \
						tools/Encoder.cpp \
						tools/MD5Generator.cpp \
						tools/SHAGenerator.cpp \
						tools/StringTokenizer.cpp \
						utils/LogHandler.cpp \
						utils/Profiler.cpp \
						utils/ZipFile.cpp

librgcpp1_la_LDFLAGS= $(all_libraries)

bin_PROGRAMS = rgcpp1

rgcpp1_SOURCES = main.cpp

rgcpp1_LDFLAGS= $(all_libraries)

rgcpp1_LDADD = -lrgcpp1 -lzip -lboost_regex -lboost_thread -lboost_filesystem -llog4cplus -lcurl -lutil -lssl -lz -lm 

AM_CXXFLAGS= $(DEFINES)

AM_CFLAGS= $(DEFINES)
